package cn.maihe.elg.operation.service.ConfigurationCenter.mapper;

import cn.maihe.elg.operation.service.ConfigurationCenter.config.CenterConfig;
import cn.maihe.elg.operation.service.ConfigurationCenter.dto.CofigureAllDto;
import cn.maihe.elg.operation.service.ConfigurationCenter.dto.ConfigureDto;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface ConfigureMapper {
    //分页查询列表
    List<ConfigureDto> queryConfigure();

    CofigureAllDto findConfigJsonBySysName(String platformName);

    int updateConfigStatus(String sysplatformName, Integer useFlag, String LastModifiedBy);

    int addConfigure(CenterConfig.CenterInfo centerInfo, String createdBy);
}
